package services;

import bean.Product;

import java.util.List;

public interface ProductService {
    List<Product> getProductByindex(String index);

    Product getProductById(int pid);
}
